package com.globalwave.product.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.globalwave.common.entity.Catalog;


/**
 *@Transient
 * @author Virgil.Chan
 */
@Entity
@Table(name = "PRODUCT_CATALOG")
public class ProductCatalog extends Catalog {

    @Id
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="increment")
    @GenericGenerator(name="PRODUCT_CATALOG_ID_SEQ", strategy = "increment")
	private Long catalog_id  ;
    private Long pro_catalog_id ;
    private Long root_id  ;
    private String name_  ;
    private String desc_ ;
    private Boolean is_folder ;
    private Integer level_ ;
    private Integer index_ ;
    private String ext_c1 ;
    private String ext_c2 ;
    private String ext_c3 ;
    private Date ext_d1 ;
    private Date ext_d2 ;
    private Double ext_n1 ;
    private Double ext_n2 ;
    private Double ext_n3 ;
    
    public Long getCatalog_id() {
        return catalog_id;
    }
    public void setCatalog_id(Long catalog_id) {
        this.catalog_id = catalog_id;
    }
    public String getExt_c1() {
        return ext_c1;
    }
    public void setExt_c1(String ext_c1) {
        this.ext_c1 = ext_c1;
    }
    public String getExt_c2() {
        return ext_c2;
    }
    public void setExt_c2(String ext_c2) {
        this.ext_c2 = ext_c2;
    }
    public String getExt_c3() {
        return ext_c3;
    }
    public void setExt_c3(String ext_c3) {
        this.ext_c3 = ext_c3;
    }
    public Date getExt_d1() {
        return ext_d1;
    }
    public void setExt_d1(Date ext_d1) {
        this.ext_d1 = ext_d1;
    }
    public Date getExt_d2() {
        return ext_d2;
    }
    public void setExt_d2(Date ext_d2) {
        this.ext_d2 = ext_d2;
    }
    public Double getExt_n1() {
        return ext_n1;
    }
    public void setExt_n1(Double ext_n1) {
        this.ext_n1 = ext_n1;
    }
    public Double getExt_n2() {
        return ext_n2;
    }
    public void setExt_n2(Double ext_n2) {
        this.ext_n2 = ext_n2;
    }
    public Double getExt_n3() {
        return ext_n3;
    }
    public void setExt_n3(Double ext_n3) {
        this.ext_n3 = ext_n3;
    }
    public Integer getIndex_() {
        return index_;
    }
    public void setIndex_(Integer index_) {
        this.index_ = index_;
    }
    public Integer getLevel_() {
        return level_;
    }
    public void setLevel_(Integer level_) {
        this.level_ = level_;
    }
    public String getName_() {
        return name_;
    }
    public void setName_(String name_) {
        this.name_ = name_;
    }
    public Long getPro_catalog_id() {
        return pro_catalog_id;
    }
    public void setPro_catalog_id(Long pro_catalog_id) {
        this.pro_catalog_id = pro_catalog_id;
    }
    public Long getRoot_id() {
        return root_id;
    }
    public void setRoot_id(Long root_id) {
        this.root_id = root_id;
    }
	public String getDesc_() {
		return desc_;
	}
	public void setDesc_(String desc_) {
		this.desc_ = desc_;
	}
	public Boolean getIs_folder() {
		return is_folder;
	}
	public void setIs_folder(Boolean is_folder) {
		this.is_folder = is_folder;
	}
    
}
